package com.iotechn.unimall.data.mapper.mymapper;

import com.iotechn.unimall.data.mapper.IMapper;
import com.iotechn.unimall.mydata.domain.Teacher;
import com.iotechn.unimall.mydata.domain.User;
import com.iotechn.unimall.mydata.dto.IUser;
import org.apache.ibatis.annotations.Param;

public interface IUserMapper extends IMapper<User> {

    Integer insertUser(User user);

    Integer selectMaxId();

    IUser login(@Param("email") String email, @Param("password")  String password);
}
